;; The first three lines of this file were inserted by DrScheme. They record metadata
;; about the language level of this file in a form that our tools can easily process.
#reader(lib "htdp-beginner-reader.ss" "lang")((modname e1.12) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ())))

(define (pascal col lin)
  (cond ((> col lin) "erro")
        ((or (= col 1) (= col lin)) 1)
        (else (+ (pascal (- col 1) (- lin 1)) (pascal col (- lin 1))))))
